﻿@{
    ViewBag.Title = "Index";
}
<h2>Examen Fisico</h2>
<div class="row-fluid">
    <div class="span4">
        @Html.Partial("Controles/_smallUserDetail")
        @Html.Partial("Controls/Detail/_IncidentesHistoria")
    </div>
    <div class="span8" id="historiaclinicaContext">
        <div class="row">
            <div class="span8">
            </div>
        </div>
        <div data-bind="with: Historia">
            <div class="row-fluid">
                @Html.Partial("Controls/Edit/HistoriaClinicaRegistro")
            </div>
            <div class="row-fluid">
                <div class="tabbable tabs-left">
                    <ul class="nav nav-tabs">
                        <li class="active"><a href="#examenFisico" data-toggle="tab">Examen Fisico</a></li>
                        <li><a href="#antecedentes" data-toggle="tab">Antecedentes</a></li>
                        <li><a href="#anamnesis" data-toggle="tab">Anamnesis</a></li>
                        <li><a href="#factores" data-toggle="tab">Factores de Riesgo</a></li>
                    </ul>
                    <div class="tab-content">
                        <div id="examenFisico" class="tab-pane active" data-bind="with: Fisico">
                            @Html.Partial("Controls/Edit/ExamenFisico")
                        </div>
                        <div id="antecedentes" class="tab-pane" data-bind="with: Antecedentes">
                            @Html.Partial("Controls/Edit/AntecedenteEnfermedad")
                        </div>
                        <div id="anamnesis" class="tab-pane" data-bind="with: Anamnesis">
                            @Html.Partial("Controls/Edit/Anamnesis")
                        </div>
                        <div id="factores" class="tab-pane" data-bind="with: FactorRiesgo">
                            @Html.Partial("Controls/Edit/FactorRiesgo")
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!--MODAL-->
         @Html.Partial("Controles/_errorModal")
        <div id="modalsaved" class="modal hide fade">
            <div class="modal-header">
                <h3>Registro</h3>
            </div>
            <div data-bind="html: Mensaje" class="modal-body">
            </div>
            <div class="modal-footer">
                <a href="#" class="btn" data-dismiss="modal" aria-hidden="true">Close</a>
            </div>
        </div>
    </div>

</div>
@section ViewScripts{
    <script src="@Url.Content("~/Scripts/views/historiaclinica/historiaclinica.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/thrid-party/bootstrap-datepicker.js")" type="text/javascript"></script>
    <script>
        $(function () {
            startApp(@Html.Raw(Json.Encode(ViewBag.Model)));
        });
    </script>
}
@section ViewStyles{
    <link href="@Url.Content("~/Content/thrid-party/datepicker.css")" rel="stylesheet" type="text/css" />
}
